/* 确认对话框样式 */
.confirm-dialog-overlay {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: rgba(0, 0, 0, 0.7);
  backdrop-filter: blur(5px);
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 10000;
  animation: fadeIn 0.3s ease-out;
}

.confirm-dialog {
  background: rgba(0, 20, 40, 0.95);
  backdrop-filter: blur(20px);
  border-radius: 16px;
  padding: 0;
  border: 1px solid rgba(0, 150, 255, 0.3);
  box-shadow: 
    0 20px 40px rgba(0, 0, 0, 0.5),
    0 0 60px rgba(0, 150, 255, 0.1),
    inset 0 1px 0 rgba(255, 255, 255, 0.1);
  min-width: 400px;
  max-width: 500px;
  animation: slideIn 0.3s ease-out;
  position: relative;
  overflow: hidden;
}

.confirm-dialog::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(0, 150, 255, 0.5), transparent);
}

.confirm-dialog-header {
  padding: 24px 24px 16px 24px;
  border-bottom: 1px solid rgba(0, 150, 255, 0.2);
}

.confirm-dialog-title {
  margin: 0;
  font-size: 20px;
  font-weight: 600;
  color: #ffffff;
  text-align: center;
  text-shadow: 0 0 10px rgba(0, 150, 255, 0.5);
  background: linear-gradient(135deg, #ffffff, #00aaff);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.confirm-dialog-body {
  padding: 20px 24px;
}

.confirm-dialog-message {
  margin: 0;
  font-size: 16px;
  color: rgba(255, 255, 255, 0.8);
  text-align: center;
  line-height: 1.5;
}

.confirm-dialog-footer {
  padding: 16px 24px 24px 24px;
  display: flex;
  gap: 12px;
  justify-content: center;
}

.confirm-dialog-btn {
  padding: 12px 24px;
  border: none;
  border-radius: 8px;
  font-size: 14px;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.3s ease;
  min-width: 100px;
  position: relative;
  overflow: hidden;
}

.confirm-dialog-btn-cancel {
  background: rgba(0, 30, 60, 0.8);
  border: 1px solid rgba(0, 150, 255, 0.3);
  color: #ffffff;
  backdrop-filter: blur(10px);
}

.confirm-dialog-btn-cancel:hover {
  background: rgba(0, 50, 100, 0.9);
  border-color: rgba(0, 150, 255, 0.5);
  transform: translateY(-1px);
  box-shadow: 0 4px 15px rgba(0, 150, 255, 0.2);
}

.confirm-dialog-btn-confirm {
  background: linear-gradient(135deg, #ff6b6b, #ee5a52);
  border: 1px solid rgba(255, 107, 107, 0.6);
  color: #ffffff;
  box-shadow: 0 4px 15px rgba(255, 107, 107, 0.2);
}

.confirm-dialog-btn-confirm:hover {
  background: linear-gradient(135deg, #ff5252, #d32f2f);
  border-color: rgba(255, 107, 107, 0.8);
  transform: translateY(-1px);
  box-shadow: 0 6px 20px rgba(255, 107, 107, 0.4);
}

.confirm-dialog-btn:active {
  transform: translateY(0);
}

/* 动画效果 */
@keyframes fadeIn {
  from {
    opacity: 0;
  }
  to {
    opacity: 1;
  }
}

@keyframes slideIn {
  from {
    opacity: 0;
    transform: translateY(-20px) scale(0.95);
  }
  to {
    opacity: 1;
    transform: translateY(0) scale(1);
  }
}

/* 响应式设计 */
@media (max-width: 480px) {
  .confirm-dialog {
    min-width: 320px;
    margin: 20px;
  }
  
  .confirm-dialog-title {
    font-size: 18px;
  }
  
  .confirm-dialog-message {
    font-size: 14px;
  }
  
  .confirm-dialog-btn {
    padding: 10px 20px;
    font-size: 13px;
    min-width: 80px;
  }
}
